package com.isoft.c2team3service2.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author 蓝莓
 * @date 2025/10/10 11:12
 */
@Data
@TableName("user_like")
@NoArgsConstructor
@AllArgsConstructor
public class UserLike implements Serializable {
    private Integer userId;
    private Integer postId;
    @TableId(type = IdType.AUTO)
    private Integer id;
}
